package net.mcreator.toolsasfood.procedures;

import net.minecraft.world.level.LevelAccessor;
import net.minecraft.world.entity.Entity;

public class WarpedFungusStickStandLavaZaiXiaoGuoChiXuShiMeiKeFaShengProcedure {
	public static void execute(LevelAccessor world, double x, double y, double z, Entity entity) {
		if (entity == null)
			return;
		if (entity.getPersistentData().getDouble("turnLava") % 10 == 0) {
			TurnsLavaProcedure.execute(world, Math.floor(x), y, Math.floor(z));
		}
	}
}
